#__author__ = 'K'
# coding: utf-8
from django.conf.urls import url
from common.views import base, position, user, post, hamlet, zz, leifeng, fun, bottle, others, game

# administrator view
urlpatterns = [
    url(r'^$', base.index),
    url(r'^sign/in', base.sign_in),
    url(r'^sign/up', base.sign_up),
    url(r'^logout', base.logout),
]

urlpatterns += [
    url(r'^about/index', base.about),
    url(r'^about/declaration', base.declaration),
]

urlpatterns += [
    url(r'^user/info', user.user_info),
    url(r'^user/detail', user.user_detail),
    url(r'^user/add_info', user.add_info),
]

urlpatterns += [
    url(r'^position/get_county_list', position.get_county_list),
    url(r'^position/get_town_list', position.get_town_list),
    url(r'^position/get_village_list', position.get_village_list),
]

urlpatterns += [
    url(r'^post/create', post.create),
    url(r'^post/detail', post.post_detail),
    url(r'^post/comment', post.comment),
    url(r'^post/zhan', post.zhan),
    url(r'^post/list', post.post_list),
]

urlpatterns += [
    url(r'^hamlet/my_hamlet', hamlet.my_hamlet),
]

urlpatterns += [
    url(r'^zz/index', zz.index),
    url(r'^zz/jianli', zz.jianli),
    url(r'^zz/collection', zz.collection),
    url(r'^zz/note', zz.note),
]

urlpatterns += [
    url(r'^leifeng/index', leifeng.index),
]

urlpatterns += [
    url(r'^fun/index', fun.index),
]

urlpatterns += [
    url(r'^bottle/index', bottle.index),
    url(r'^bottle/send', bottle.bottle_send),
    url(r'^bottle/get', bottle.bottle_get),
    url(r'^bottle/detail', bottle.bottle_detail),
    url(r'^bottle/reply', bottle.bottle_reply),
    url(r'^bottle/del', bottle.bottle_del),
]

urlpatterns += [
    url(r'^others/index', others.index),
    url(r'^others/tools/index', others.tools),
    url(r'^song/index', others.song_index),
    url(r'^words/index', others.words_index),
]

urlpatterns += [
    url(r'^game/list', game.game_list),
    url(r'^game/detail', game.game_detail),
    url(r'^game/submit/score', game.submit_score),
]